Fix FTBFS against freetype 2.10.4. (Closes: #976975)
authorAnton Gladky <gladk@debian.org>
Thu, 10 Dec 2020 16:26:40 +0000 (17:26 +0100)
committerAnton Gladky <gladk@debian.org>
Thu, 10 Dec 2020 16:32:34 +0000 (17:32 +0100)
debian/patches/90_fix_freetype_compilation.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/90_fix_freetype_compilation.patch b/debian/patches/90_fix_freetype_compilation.patch
new file mode 100644 (file)
index 0000000..9c09fb1
--- /dev/null
@@ -0,0 +1,19 @@
+Description: Fix FTBFS against freetype 2.10.4
+Author: mathstuf
+Reviewed-By: Anton Gladky <gladk@debian.org>
+Bug-Debian: https://bugs.debian.org/976975
+Forwarded: https://github.com/Kitware/VTK/commit/3edc0de2b04ae1e100c229e592d6b9fa94f2915a
+Last-Update: 2020-12-10
+
+--- vtk9-9.0.1+dfsg1.orig/Rendering/FreeType/vtkFreeTypeTools.cxx
++++ vtk9-9.0.1+dfsg1/Rendering/FreeType/vtkFreeTypeTools.cxx
+@@ -378,8 +378,7 @@ FTC_CMapCache* vtkFreeTypeTools::GetCMap
+ }
+ //----------------------------------------------------------------------------
+-FT_CALLBACK_DEF(FT_Error)
+-vtkFreeTypeToolsFaceRequester(
++static FT_Error vtkFreeTypeToolsFaceRequester(
+   FTC_FaceID face_id, FT_Library lib, FT_Pointer request_data, FT_Face* face)
+ {
+ #if VTK_FTFC_DEBUG_CD
index a0024c2a3ba427e410e4d732e2bfb0254b7cc219..d204b798fa311a8cae999d403ff918869b44ca4e 100644 (file)
@@ -6,3 +6,4 @@
 60_fix_path_perl.patch
 70_fix_python_numpy_warning.patch
 80_allow_gles_platforms.patch
+90_fix_freetype_compilation.patch